# -*- coding: utf-8 -*-
# @Time : 2022/6/15 上午11:51
# @Author : wyf
# @FileName: selenium节点信息.py
# @Email: yunfei.wang@innvote.com
from selenium import webdriver
from selenium.webdriver.common.by import By

browser = webdriver.Chrome()
url = 'https://pic.netbian.com/4kmeinv/index.html'
browser.get(url)
src = browser.find_elements(by=By.XPATH, value='//ul[@class="clearfix"]/li/a/img')
for i in src:
    url = i.get_attribute('src')
    print(url)

browser.close()
"""
https://pic.netbian.com/uploads/allimg/220615/001303-1655223183164f.jpg
https://pic.netbian.com/uploads/allimg/220613/235959-1655135999b64d.jpg
https://pic.netbian.com/uploads/allimg/220613/000457-1655049897e7f3.jpg
https://pic.netbian.com/uploads/allimg/220515/232503-16526283037507.jpg
https://pic.netbian.com/uploads/allimg/220205/002942-1643992182534d.jpg
https://pic.netbian.com/uploads/allimg/220512/010316-1652288596e0b4.jpg
https://pic.netbian.com/uploads/allimg/210718/000805-16265380858e92.jpg
https://pic.netbian.com/uploads/allimg/220327/000925-16483109659bb3.jpg
https://pic.netbian.com/uploads/allimg/210827/235918-1630079958392e.jpg
https://pic.netbian.com/uploads/allimg/211122/000739-16375108599425.jpg
https://pic.netbian.com/uploads/allimg/211219/114328-1639885408db64.jpg
https://pic.netbian.com/uploads/allimg/210831/102129-16303764895142.jpg
https://pic.netbian.com/uploads/allimg/220131/012219-16435633391d32.jpg
https://pic.netbian.com/uploads/allimg/220611/001225-1654877545dc86.jpg
https://pic.netbian.com/uploads/allimg/220604/003933-16542743731528.jpg
https://pic.netbian.com/uploads/allimg/220602/174910-1654163350a93d.jpg
https://pic.netbian.com/uploads/allimg/220608/000222-16546177421fd8.jpg
https://pic.netbian.com/uploads/allimg/220202/160359-164378903948d5.jpg
https://pic.netbian.com/uploads/allimg/211230/232908-164087814870b3.jpg
https://pic.netbian.com/uploads/allimg/211117/001857-1637079537c0f0.jpg

"""